using UnityEngine;

public class ResourceLoader : MonoBehaviour
{
	public static T Load<T>(string path) where T : Object
	{
		return UnityEngine.Object.Instantiate(Resources.Load(path, typeof(T))) as T;
	}
}
